import { Authority } from '../request'

const { post, get } = Authority
// 商品列表新增修改
export const martAdd = params => post('/mart/saveOrUpdate', params)
// 商品下架
export const martDelete = params => post('/mart/delete', params)
// 商品列表
export const martQueryList = params => get('/mart/open/queryList', { params })

//商品详情
export const martGetById = params => get('/mart/open/getById', { params })


// 视频下拉列表
export const videoQuerySelectList = params => get('/video/querySelectList', { params })

// 订单列表
export const orderQueryList = params => get('/mart/order/queryList', { params })
// 改价
export const martUpdatePrice = params => post('/mart/order/updatePrice', params)
